package com.wlyuan.open.dto.transport;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author lijing
 * @description
 */
@Data
public class TransportInfoDTO implements Serializable {

    private static final long serialVersionUID = 1249682420277507256L;
    @ApiModelProperty("上游运单id")
    private Long upTransportId;
    @ApiModelProperty("订单ID")
    private Long orderId;
    @ApiModelProperty("订单编号")
    private String orderNo;
    @ApiModelProperty("合同号")
    private String contractNo;
    @ApiModelProperty("创建类型")
    private Integer createType;
    @ApiModelProperty("备注")
    private String desc;

    @ApiModelProperty("调度人")
    private Long dispatchBy;
    @ApiModelProperty("调度时间")
    private LocalDateTime dispatchAt;

    @ApiModelProperty("收货方ID")
    private Long consigneeId;

    @ApiModelProperty("重量补差-公斤")
    private BigDecimal weightAddition;
    @ApiModelProperty("体积补差-方")
    private BigDecimal volumeAddition;
    @ApiModelProperty("价值补差-元")
    private BigDecimal valueAddition;
    @ApiModelProperty("总重量(未含补差-公斤)")
    private BigDecimal totalWeight;
    @ApiModelProperty("总体积(未含补差-方)")
    private BigDecimal totalVolume;
    @ApiModelProperty("总价值(未含补差-元)")
    private BigDecimal totalValue;
    @ApiModelProperty("总数量")
    private Integer totalQuantity;

    @ApiModelProperty("创建时间")
    private LocalDateTime createAt;
    @ApiModelProperty("创建人")
    private Long createBy;
    @ApiModelProperty("更新时间")
    private LocalDateTime updateAt;
    @ApiModelProperty("更新人")
    private Long updateBy;
    @ApiModelProperty("类型")
    private Integer waybillType;

}
